package com.ZengQi.event.controller;

import com.ZengQi.event.entity.Comment;
import com.ZengQi.event.entity.Topic;
import com.ZengQi.event.service.CommentService;
import com.ZengQi.event.service.TopicService;
import com.ZengQi.event.service.impl.CommentServiceImpl;
import com.ZengQi.event.service.impl.TopicServiceImpl;
import com.ZengQi.event.view.UserMainView;

import java.util.List;

public class UserSearchViewController {
    private TopicService topicService=new TopicServiceImpl();

    public List<Topic>topicList(Topic conditionTopic){
        return topicService.findListTopic(conditionTopic);
    }

}
